package com.imti.mall.order.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.pms.pojo.PmsProductLadder;
import com.imti.mall.order.mapper.ProductLadderMapper;
import com.imti.mall.order.service.ProductLadderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductLadderServiceImpl extends ServiceImpl<ProductLadderMapper, PmsProductLadder> implements ProductLadderService {

    @Autowired
    private ProductLadderMapper productLadderMapper;

    @Override
    public PmsProductLadder productLadderByproductId(Long productId) {
        return productLadderMapper.productLadderByproductId(productId);
    }
}
